<?php $this->load->view('header',array('title'=>$title));?>
<style>
<!--
body, html {
	  background-color: #FFF;	
}
#box-table-a {
    border-collapse: collapse;  
    font-size: 12px;    
    text-align: left;
    width: 100%;
    margin-bottom:50px;
}
#box-table-a th {
    background: none repeat scroll 0 0 #E7E5E2;
    border-bottom: 1px solid #D0CDC7;
    border-top: 4px solid #888888;  
    font-size: 13px;
    font-weight: normal;
    padding: 8px;
}
#box-table-a td {
    background: none repeat scroll 0 0 #FFF;
    border-bottom: 1px solid #D0CDC7;
    border-top: 1px solid transparent;   
    padding: 8px;
}
#box-table-a tr:hover td {
    background: none repeat scroll 0 0 #DDDDDD;
}
table td{
	 padding: 8px;
}


form {
    margin: 0;
    padding: 0;
}

label {
    float: left;   
    text-align: left;
    width: 100px;
}
fieldset div {
    display: block;
    margin-bottom: 0.5em;
    padding: 0;
}
fieldset div input, fieldset div textarea {
    border-color: #555555 #CCCCCC #CCCCCC #555555;
    border-style: solid;
    border-width: 1px;
    color: #333333;
    padding: 1px;
    width: 200px;
}
fieldset div select {
    padding: 1px;
	width: 100px;
}
div.fm-multi div {
    margin: 5px 0;
}
div.fm-multi input {
    width: 1em;
}
div.fm-multi label {
    display: block;
    padding-left: 5em;
    text-align: left;
    width: 200px;
}
#fm-submit {
    clear: both;
    padding-top: 1em;
    text-align: center;
}

input:focus, textarea:focus {
    background: none repeat scroll 0 0 #EFEFEF;
    color: #000000;
}
fieldset div.fm-req {
    font-weight: bold;
}

p#fm-intro {
    margin: 0;
}

.boxline{
	border:1px solid #D0CDC7;padding:20px 45px;margin-bottom:20px;
}
-->
</style>
<div style="margin:100px 50px 0 50px;">
	<div class="boxline" id="email-box">
		<?php if($data['order_status'] == 0):?>
				您的订单已经成功提交
		<?php elseif($data['order_status'] == 1):?>
				<b>您的订单已经成功支付,等待发货</b>
		<?php endif;?>
	</div>	
	<h3>订单信息</h3>
	<div class="boxline" id="address-box">		
		<p>订单编号: <b><?php echo $data['order_sn']?></b></p>
		<p>订单金额:￥<?php echo $data['price']?></p>		
	</div>
	<?php if($data['order_status'] == 0):?>
	
	<h3>订单支付</h3>	
	<div class="boxline" >	
			
	<div style="padding:20px 0px;position:relative;">
		<a href="https://b.alipay.com/order/productDetail.htm?productId=2011060800327556" target="_blank"><img height="100"  title="支付宝担保交易"  src="<?php echo base_url('style/images/alipay_logo.jpg')?>" /><img height="100"  title="支付宝担保交易" src="<?php echo base_url('style/images/1iBWFYT3NB.png')?>" /></a>
		<a style="position:absolute;right:0;" href="<?php echo site_url('order/callpay?orderId='.$data['order_sn'])?>" class="button hl">立即支付</a>
	</div>	
	</div>
	<?php endif;?>
</div>

<?php $this->load->view('footer');?>